import { login, userInfo, editUserInfo, changePhoto } from './user'
import { userChannels,channelsAll, addChannel,delChannel } from './channel'

import { articleList,articleInfo,zan, unzan, cancelUnlike, unlike } from './article'
import { suggest, getHistory,getSearchResult } from './search'
import { cmtList,sendCmt } from './comment'


// 统一的暴露
export const loginAPI = login
export const userInfoAPI = userInfo
export const editUserInfoAPI = editUserInfo
export const changePhotoAPI = changePhoto
export const userChannelsAPI = userChannels
export const articleListAPI = articleList
export const channelsAllAPI = channelsAll
export const addChannelAPI = addChannel
export const delChannelAPI = delChannel
export const suggestAPI = suggest
export const getHistoryAPI = getHistory
export const getSearchResultAPI = getSearchResult
export const articleInfoAPI = articleInfo
export const zanAPI = zan
export const unzanAPI = unzan
export const cancelUnlikeAPI = cancelUnlike
export const unlikeAPI = unlike
export const cmtListAPI = cmtList
export const sendCmtAPI = sendCmt